package com.foo.designpattern.command;

/**
 * com.foo.designpattern.command
 * Created with IntelliJ IDEA.
 * Created by jiang on 2016-04-25 9:38.
 *
 * @Description
 */
public interface Command {
    /**
     * 命令执行
     *
     * @param command
     */
    void execute(String command);

    /**
     * 命令撤销
     *
     * @param command
     */
    void undo(String command);
}
